package com.dev.elasticsearch.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @ClassName : Dirct  //类名
 * @Description :   //描述
 * @Author :   //作者
 */
@Document(indexName = "dictionary")
@Data
public class Dictionary implements Serializable {
    @Id
    private String dictId;

    private String name;

    private String description;

    private Integer type;
}
